package com.lyk.coursearrange.service.impl;

import com.lyk.coursearrange.common.core.base.result.R;
import com.lyk.coursearrange.entity.OperLog;
import com.lyk.coursearrange.entity.SysLogininfor;
import com.lyk.coursearrange.service.IOperLogService;
import com.lyk.coursearrange.service.RemoteLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RemoteLogServiceImpl implements RemoteLogService
{
    @Autowired
    private IOperLogService operLogService;

    @Override
    public R<Boolean> saveLog(OperLog operLog, String source) {
        operLogService.insertOperlog(operLog);
        return R.ok();
    }
}
